package com.yztc.youbadbad.ui.other.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.yztc.youbadbad.App;
import com.yztc.youbadbad.R;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class RegisterActivity extends AppCompatActivity {
    private Context mContext = App.app;



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        ButterKnife.bind(this);

    }

    @OnClick({R.id.imageview_back,R.id.textView_zhanghu})
    public void onClick(View view) {
        Intent intent = new Intent();
       switch (view.getId()){
           case R.id.imageview_back:
               intent.setClass(mContext,LogInActivity.class);
               startActivity(intent);
               break;
           case R.id.textView_zhanghu:
               intent.setClass(mContext,LogInActivity.class);
               startActivity(intent);
               break;
       }

    }


}
